.class Les/xy$r;
.super Ljava/lang/Object;
.source "EditMenuItemProvider.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/xy;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/xy;


# direct methods
.method constructor <init>(Les/xy;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/xy$r;->a:Les/xy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 5

    .line 1
    iget-object p1, p0, Les/xy$r;->a:Les/xy;

    invoke-static {p1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->A1(Ljava/lang/String;)Z

    move-result p1

    .line 2
    iget-object v0, p0, Les/xy$r;->a:Les/xy;

    invoke-static {v0}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->r1(Ljava/lang/String;)Z

    move-result v0

    if-nez p1, :cond_0

    if-eqz v0, :cond_1

    .line 3
    :cond_0
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v0, "log_fast_rename"

    const-string v1, "rename"

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Ljava/lang/String;)V

    .line 4
    :cond_1
    :try_start_0
    iget-object p1, p0, Les/xy$r;->a:Les/xy;

    invoke-static {p1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->f0()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v0, "Longpress_rename"

    .line 5
    invoke-virtual {p1, v0}, Lcom/estrongs/android/statistics/b;->b(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 6
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    .line 7
    :goto_0
    iget-object p1, p0, Les/xy$r;->a:Les/xy;

    invoke-static {p1}, Les/xy;->b(Les/xy;)Ljava/util/List;

    move-result-object p1

    .line 8
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    if-nez v0, :cond_2

    .line 9
    iget-object p1, p0, Les/xy$r;->a:Les/xy;

    invoke-static {p1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/Activity;->getBaseContext()Landroid/content/Context;

    move-result-object p1

    const v0, 0x7f1104a3

    const/4 v2, 0x0

    invoke-static {p1, v0, v2}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    goto :goto_1

    .line 10
    :cond_2
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const-string v2, "s1"

    if-ne v0, v1, :cond_3

    .line 11
    iget-object v0, p0, Les/xy$r;->a:Les/xy;

    invoke-static {v0}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    iget-object v3, p0, Les/xy$r;->a:Les/xy;

    .line 12
    invoke-static {v3}, Les/xy;->c(Les/xy;)Ljava/lang/String;

    move-result-object v3

    new-instance v4, Les/xy$r$a;

    invoke-direct {v4, p0, p1}, Les/xy$r$a;-><init>(Les/xy$r;Ljava/util/List;)V

    .line 13
    invoke-static {v2, v0, v3, v4}, Lcom/estrongs/fs/impl/local/a;->a(Ljava/lang/String;Landroid/content/Context;Ljava/lang/String;Ljava/lang/Runnable;)V

    goto :goto_1

    .line 14
    :cond_3
    iget-object p1, p0, Les/xy$r;->a:Les/xy;

    invoke-static {p1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    iget-object v0, p0, Les/xy$r;->a:Les/xy;

    .line 15
    invoke-static {v0}, Les/xy;->c(Les/xy;)Ljava/lang/String;

    move-result-object v0

    new-instance v3, Les/xy$r$b;

    invoke-direct {v3, p0}, Les/xy$r$b;-><init>(Les/xy$r;)V

    .line 16
    invoke-static {v2, p1, v0, v3}, Lcom/estrongs/fs/impl/local/a;->a(Ljava/lang/String;Landroid/content/Context;Ljava/lang/String;Ljava/lang/Runnable;)V

    :goto_1
    return v1
.end method
